Packetery\Module\Plugin B

Total Complexity 83
Dependencies 68
Dependents 12
Total lines 1,033
Lines of code 477
Logical lines of code 251
Comment lines 154
Methods 27
Properties 34

Methods 27

Method Rating Maintainability Complexity Lines of code
enqueueAdminAssets()
B
35 21 76
renderEmailFooter()
A
45 7 40
run()
A
37 4 79
renderOrderDetail()
S
51 5 28
handleActions()
S
59 5 15
renderDeliveryDetail()
S
47 3 36
uninstall()
S
56 4 17
hideSubmenuItem()
S
63 4 10
__construct()
S
47 1 36
createLinkParts()
S
63 3 10
echoInactiveWooCommerceNotice()
S
61 2 14
renderConfirmModalTemplate()
S
60 2 14
shouldDisplayPickupPointInfo()
S
79 2 3
getLocale()
S
69 2 7
declareWooCommerceCompability()
S
70 2 6
addPluginRowMeta()
S
64 2 9
loadTranslation()
S
63 2 10
enqueueFrontAssets()
S
66 2 8
buildAssetUrl()
S
65 2 8
add_menu_pages()
S
70 1 7
isWooCommercePluginActive()
S
80 1 3
init()
S
65 1 10
addPluginActionLinks()
S
66 1 7
enqueueStyle()
S
67 1 8
add_shipping_method()
S
76 1 4
enqueueScript()
S
66 1 9
getAppIdentity()
S
77 1 3